package edu.sctu.practice.class02.hujie.cgs.practice02.test21;

/**
 * Created by hj on 2015/10/30.
 */
public class InterfaceDemo {
    public static void main(String[] args) {
        Bus bus = new Bus();
        Bike bike = new Bike();
        System.out.println("bus");
        bus.start("机械发车");
        bus.stop("机械停车");
        System.out.println("bike");
        bike.stop("手动刹车");
        bike.start("手动发车");
    }
}
